package com.springboot.middleware.middleware_lock.model.entity;

import java.math.BigDecimal;
import java.util.Date;

public class UserAccountRecord {
    /**
     * 主键id
     *
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    private Integer id;

    /**
     * 账户表主键id
     *
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    private Integer accountId;

    /**
     * 提现成功时的金额
     *
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    private BigDecimal money;

    /**
     * 该记录创建时间
     *
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    private Date createTime;

    public UserAccountRecord() {
    }

    public UserAccountRecord(Integer id, Integer accountId, BigDecimal money, Date createTime) {
        this.id = id;
        this.accountId = accountId;
        this.money = money;
        this.createTime = createTime;
    }

    /**
     * 获得主键id
     *
     * @return the value of user_account_record.id
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置主键id
     *
     * @param id the value for user_account_record.id
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获得账户表主键id
     *
     * @return the value of user_account_record.account_id
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public Integer getAccountId() {
        return accountId;
    }

    /**
     * 设置账户表主键id
     *
     * @param accountId the value for user_account_record.account_id
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    /**
     * 获得提现成功时的金额
     *
     * @return the value of user_account_record.money
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public BigDecimal getMoney() {
        return money;
    }

    /**
     * 设置提现成功时的金额
     *
     * @param money the value for user_account_record.money
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 获得该记录创建时间
     *
     * @return the value of user_account_record.create_time
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置该记录创建时间
     *
     * @param createTime the value for user_account_record.create_time
     * @mbg.generated Thu Jan 13 15:45:24 CST 2022
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "UserAccountRecord{" +
                "id=" + id +
                ", accountId=" + accountId +
                ", money=" + money +
                ", createTime=" + createTime +
                '}';
    }
}